import request from '@/utils/request'

// 查询活动回复评论列表
export function listActivityReplies(query) {
  return request({
    url: '/system/activityReplies/list',
    method: 'get',
    params: query
  })
}

// 查询活动回复评论详细
export function getActivityReplies(replyId) {
  return request({
    url: '/system/activityReplies/' + replyId,
    method: 'get'
  })
}

// 新增活动回复评论
export function addActivityReplies(data) {
  return request({
    url: '/system/activityReplies',
    method: 'post',
    data: data
  })
}

// 修改活动回复评论
export function updateActivityReplies(data) {
  return request({
    url: '/system/activityReplies',
    method: 'put',
    data: data
  })
}

// 删除活动回复评论
export function delActivityReplies(replyId) {
  return request({
    url: '/system/activityReplies/' + replyId,
    method: 'delete'
  })
}
